Skip to content

Conversation

@Ralalu
Copy link

@Ralalu Ralalu commented Sep 6, 2025

Overview

This pull request introduces a pin/unpin feature for the side (left/right) and bottom panels in the FlexLayout library. It allows users to keep panels permanently visible ("pinned") or collapse them automatically ("unpinned"), similar to behavior in modern IDEs and dashboard layouts.

Motivation

  • Improved flexibility: Users can control whether certain panels remain open or auto-hide.
  • Better usability: Helps streamline workflows and reduce visual clutter, especially in complex layouts.
  • Feature enhancement: Extends existing FlexLayout capabilities (docking, maximizing, popout) with a commonly requested interaction.

Screenshot
image

Copy link

@powerdragonfire powerdragonfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice feature! Add to Demo too so others can use, as well as making sure its appearing on API Docs.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why removing version?

};
document.addEventListener("pointerdown", onBodyPointerDown);
return () => document.removeEventListener("pointerdown", onBodyPointerDown);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not all code is resolving a path @Ralalu - check recent commit here: https://github.com/powerdragonfire/flexycakes
Add return () => {} with error log.

Copy link

@powerdragonfire powerdragonfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When toggling pin left border first, then bottom, bottom should be prioritised?
Screenshot 2025-10-02 at 00 51 47
ide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants